package com.example.demo.service;

import com.example.demo.entity.Medical;
import org.apache.ibatis.annotations.Param;
import org.springframework.core.io.Resource;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface MedicalService {
    Medical addMedicalForm(Medical medical);

    String uploadToLocal(List<MultipartFile> files, Long applicationId, String basePath);

    List<Resource> getDownloadUrl(Long applicationId);

    Medical findById(Long mid);
    List<Medical> findByApplicationId( Long aid);

    List<String> getDownloadPath(Long aid);
    String getFilePathByApplicationId(Long applicationId);
}
